package com.abel.ignite;

import com.alibaba.fastjson.JSONObject;

import java.util.List;

/**
 * @author xiachao
 * @date 2019-04-29
 */

public interface DefaultIgniteService {

    boolean insert(String cacheName, JSONObject json);

    boolean delete(String cacheName, String sql);

    boolean update(String cacheName, String sql);

    boolean update(String cacheName, JSONObject json);

    List<List<?>> query(String cacheName, String sql);

}
